<form method='post' action='<?=$_SERVER['REQUEST_URI']?>' class="dataForm">
	<div class="zzlBox zMust">
		<label for="">新闻标题:</label>
		<input class="zInput" type="text" value="<?=@$news['News']['title']?>" name='title' placeholder="新闻标题">
	</div>
	<div class="zzlBox zMust">
		<label for="">所属分类:</label>
		<select name="class" class="zSelect">
			<?php if($nclass['name']=='选择分类'):?>
			<option selected="selected" value="0">选择分类</option>
			<?php else:?>
			<option selected="selected" value="<?=$nclass['id']?>"><?=$nclass['name']?></option>	
			<?php endif;?>
			<?php foreach($class as $key => $value):?>
			<option value="<?=$value['NewsClass']['id']?>"><?=$value['NewsClass']['class_name']?></option>
			<?php endforeach;?>
		</select>
	</div>
	<div class="zzlBox zMust">
		<label for="">页面标题:</label>
		<input class="zInput" type="text" value="<?=@$tdk['Tdk']['web_title']?>" name='web_title' placeholder="页面标题">
	</div>
	<div class="zzlBox">
		<label for="">页面关键词:</label>
		<input class="zInput" type="text" value="<?=@$tdk['Tdk']['web_keyword']?>" name='web_keyword' placeholder="页面关键词">
	</div>
	<div class="zzlBox">
		<label for="">页面描述:</label>
		<textarea class="zText" name="web_descrion" cols="20" rows="10"><?=@$tdk['Tdk']['web_descrion']?></textarea>
	</div>
	<div class="zzlBox">
		<label for="">简介:</label>
		<textarea class="zText" name="min_content" cols="20" rows="10"><?=@$news['News']['min_content']?></textarea>
	</div>
	<div class="zzlBox">
		<label for="">内容:</label>
		<div style="width: 500px; float: left;"><textarea name="content" id="content" style='width:800px;height:400px;'><?=@$news['News']['content']?></textarea></div>
	</div>
	<div class="zzlBox">
		<label for="">新闻图片:</label>
		<div>       
		    <div>
		        <input class="zInput" type="text" id="url3" value="<?=@$news['News']['news_img']?>" name="news_img" />
		        <input style="margin-left:20px;" class="zAdd" type="button" id="image3" value="选择图片" />
            </div>                 
        </div>
	</div>
	<div class="zzlBox">
		<label for="">首页推荐:</label>
		<input class="zCheckbox" name="news_index" type="checkbox" value="" <?php if($checkbox==1):?>checked="checked"<?php endif;?> />
	</div>
	<div class="zzlBox">
		<label for="">作者:</label>
		<input class="zInput" type="text" value="<?=@$news['News']['author']?>" name='author' placeholder="作者">
	</div>
	<div class="zzlBox">
		<label for="">阅读数:</label>
		<input class="zInput" type="text" value="<?=$read_count?>" name='read_count' placeholder="阅读数">
	</div>
	<div class="zzlBox">
		<button type="submit" class="zSubmit">提交</button></div>
	</div>
</form>
